<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib uri="/tld/dictionary" prefix="dictionary"%>
<%@ taglib uri="/tld/flowdictionary" prefix="flowdictionary"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>回款管理</title>
<link rel="stylesheet" href="${ctx}/static/css/style.css" type="text/css" /> 
<link rel="stylesheet" href="${ctx}/static/css/kongjian.css" type="text/css" />
<link rel="stylesheet" href="${ctx}/static/css/m.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/static/css/thickbox.css" />
<script src="${ctx}/static/script/jquery-1.4.min.js" type="text/javascript"></script>
<script src="${ctx}/static/script/jquery.ui.core.js" type="text/javascript"></script>
<script src="${ctx}/static/script/jquery.ui.datepicker.js"></script>
<script type="text/javascript" src="${ctx}/static/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="${ctx}/static/script/jquery.form.js"></script>
<script type="text/javascript" src="${ctx}/static/script/thickbox.js"></script>
<script type="text/javascript" src="${ctx}/static/script/payback_list.js"></script>
<script type="text/javascript" src="${ctx}/static/script/loading.js"></script>
<script language="javascript">
function bb(x){
	for(i=1;i<3;i++){
		document.getElementById("t"+i).style.display="none";
		document.getElementById("a_m"+i).style.background="#fff";
		}
		document.getElementById("t"+x).style.display="block";
		document.getElementById("a_m"+x).style.background="#c6defa";
	}
</script>
</head>

<body style="margin:10px;">
<p><a id="a_m1" onclick="bb(1)" class="a_m">待付款列表</a><a id="a_m2" onclick="bb(2)" class="a_m" style="background:#fff; border-left:0;">已付款列表</a></p>
<div style="clear:both;"></div>
<form id="queryPaybackForm" action="${ctx}/payback/findPaybackPage" method="post">
<div style=" border:#3b97e4 solid 1px; padding:10px 0 20px;" id="t1">
	<div class="shenqing2">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
	      <tr>
			<td width="85">投资编号：</td>
            <td width="150px" style="color:#2E74D1;"><input type="text" class="ggkj_inputtext_80" name="investId" value="${queryPaybackForm.investId}" />
            </td>
            <td width="61">客户编号：</td>
            <td width="150px" style="color:#2E74D1;"><input type="text" class="ggkj_inputtext_80" name="customerNo" value="${queryPaybackForm.customerNo}"/></td>
            <td width="85">客户姓名：</td>
            <td width="150px" style="color:#2E74D1;"><input type="text" class="ggkj_inputtext_80" name="customerName" value="${queryPaybackForm.customerName}"/>
            </td>			
			<td width="85">资金出借方式：</td>
            <td width="150px" style="color:#2E74D1;">
            	
            	<SELECT name="productType" >
            		<option value="">全部</option>
					<dictionary:options type="0014" selectedValue="${queryPaybackForm.productType}"/>
				</SELECT>
            	
			</td>
			<td width="93"><input name="Input" type="submit" class="chaxun_btn" value="&nbsp;&nbsp;查询" />
			</td>
          </tr>
      </table>
    </div>
	<div style="clear:both;"></div>
	<div class="yiban">
	<table style="width:100%;" class="ggkj_table"  border="0" cellspacing="0" cellpadding="0" id="paybacktable">
  <tr>
    <th scope="col">投资编号</th>
    <th scope="col">客户编号</th>
    <th scope="col">客户姓名</th>
    <th scope="col">客户证件号码</th>
    <th scope="col">出借编号</th>
    <th scope="col">资金出借方式</th>
    <th scope="col">应付金额</th>
    <th scope="col">操作</th>
  </tr>
</table>
	
</div>
<div class="ggkj_pagecontainer">
  <div class="ggkj_pageBGleft">
    	<span class="ggkj_pageBGright"></span>
    	<a href="#" class="ggkj_pageUpa" id="queryFirstPageButton">
        </a>
        <a href="#" class="ggkj_pageUp" id="queryPrevPageButton">
        </a>
        <span class="ggkj_insertline"></span>
        <span class="ggkj_pageSpan">
        	页<input type="text" class="ggkj_inputtext_30" id="paybackPageNo" name="pageNo" value="1">OF <span id="paybackTotalPage"></span>
        </span>
        <span class="ggkj_insertline"></span>
        <a href="#" class="ggkj_pageDown" id="queryNextPageButton">
        
        </a>
        <a href="#" class="ggkj_pageDowna" id="queryLastPageButton">
        </a>
        <span class="ggkj_insertline"></span>
    </div>
</div>

</div>
</form>

<form id="queryPaybackedForm" action="${ctx}/payback/findPaybackedPage" method="post">
<div style=" border:#3b97e4 solid 1px; padding:10px 0 20px;" id="t2">
	<div class="shenqing2">
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
	      <tr>
			<td width="85">投资编号：</td>
            <td width="150px" style="color:#2E74D1;"><input type="text" class="ggkj_inputtext_80" name="investId" />
            </td>
            <td width="61">客户编号：</td>
            <td width="150px" style="color:#2E74D1;"><input type="text" class="ggkj_inputtext_80" name="customerNo"/></td>
            <td width="85">客户姓名：</td>
            <td width="150px" style="color:#2E74D1;"><input type="text" class="ggkj_inputtext_80" name="customerName"/>
            </td>			
			<td width="85">资金出借方式：</td>
            <td width="150px" style="color:#2E74D1;">
				<SELECT name="productType" >
            		<option value="">全部</option>
					<dictionary:options type="0014" selectedValue="${queryPaybackedForm.productType}"/>
				</SELECT>
			</td>
			<td width="85">付款时间：</td>
            <td width="150px" style="color:#2E74D1;"><input class="ggkj_inputtext_80" type="text" name="paybackDateMin" onClick="WdatePicker()" readonly="true"/>-<input class="ggkj_inputtext_80" type="text" name="paybackDateMax" onClick="WdatePicker()" readonly="true"/>
			</td>
			<td width="93"><input name="Input" type="submit" class="chaxun_btn" value="&nbsp;&nbsp;查询" />
			</td>
          </tr>
      </table>
    </div>
	<div style="clear:both;"></div>
	<div class="yiban">
	<table style="width:100%;" class="ggkj_table"  border="0" cellspacing="0" cellpadding="0" id="paybackedtable">
  <tr>
    <th scope="col">投资编号</th>
    <th scope="col">客户编号</th>
    <th scope="col">客户姓名</th>
    <th scope="col">客户证件号码</th>
    <th scope="col">出借编号</th>
    <th scope="col">资金出借方式</th>
    <th scope="col">已付金额</th>
    <th scope="col">收款账号</th>
    <th scope="col">付款时间</th>
  </tr>
</table>
	
</div>
<div class="ggkj_pagecontainer">
  <div class="ggkj_pageBGleft">
    	<span class="ggkj_pageBGright"></span>
    	<a href="#" class="ggkj_pageUpa" id="queryPaybackedFirstPageButton">
        
        </a>
        <a href="#" class="ggkj_pageUp" id="queryPaybackedPrevPageButton">
        
        </a>
        <span class="ggkj_insertline" ></span>
        <span class="ggkj_pageSpan">
        	页<input type="text" class="ggkj_inputtext_30" id="paybackedPageNo" name="pageNo" value="1">OF <span id="paybackedTotalPage"></span>
        </span>
        <span class="ggkj_insertline"></span>
        <a href="#" class="ggkj_pageDown" id="queryPaybackedNextPageButton">
        
        </a>
        <a href="#" class="ggkj_pageDowna" id="queryPaybackedLastPageButton">
        
        </a>
        <span class="ggkj_insertline"></span>
    </div>
</div>
</div>
</form>
</body>
</html>
